#第一步：清理impala垃圾数据，同步集群时间
for n in node01 node02 node03
do
	ssh $n "rm -rf /tmp/hsperfdata_impala"
	ssh $n "ntpdate -u 0.uk.pool.ntp.org"
done

#第二步：启动伪分布式集群
ssh node01 "cd /export/servers/hadoop-2.6.0-cdh5.14.0/;sbin/stop-dfs.sh;sbin/stop-yarn.sh;sbin/mr-jobhistory-daemon.sh stop historyserver"

